﻿using System;
using System.Windows;
using System.Windows.Documents;


namespace FlowDocumentTest
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            viewer.Document = (FlowDocument)Application.LoadComponent(
                new Uri("FlowDocumentTest.xaml", UriKind.Relative));
        }
    }
}
